package com.question_barrier.service;

import com.question_barrier.entity.BarrierState;

import java.util.List;

public interface BarrierStateService {

    BarrierState findByOpenIdAndGradeAndSubject(String openId, String grade,String subject);

    boolean existsByOpenIdAndGradeAndSubject(String openId,String grade,String subject);

    boolean existsByOpenId(String openId);
    int updBarrierState(BarrierState barrierState);
}
